import request from '@/utils/request'

export function docheckurl (params) {
  return request({
    url: '/admin/check_item_insert',
    method: 'get',
    params: params
  })
}
export function doaddgoods (params) {
  return request({
    url: '/admin/add_pao_dan_goods',
    method: 'post',
    params: params
  })
}
export function getgoodsclass (params) {
  return request({
    url: 'http://zsxt.letuilm.com/api/tool/getGoodsCate',
    method: 'get',
    params: params
  })
}
export function docheckcoupon (params) {
  return request({
    url: '/api/check_coupon_info',
    method: 'post',
    params: params
  })
}
export function getpaodangoods (params) {
  return request({
    url: '/admin/get_pao_dan_goods',
    method: 'get',
    params: params
  })
}
export function getfindpassinfo (params) {
  return request({
    url: '/admin/get_find_pass_info',
    method: 'get',
    params: params
  })
}
export function getupdatepass (params) {
  return request({
    url: '/admin/update_pass_goods',
    method: 'post',
    params: params
  })
}
export function dowithdrawgoods (params) {
  return request({
    url: '/admin/withdraw_goods',
    method: 'get',
    params: params
  })
}
export function doBaseUpload (params) {
  return request({
    url: '/api/upload_base',
    method: 'post',
    data: params
  })
}
